package com.emokili.ewa.core.frame.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.emokili.ewa.core.frame.dao.PlayListDao;
import com.emokili.ewa.core.frame.dao.PlayListSettingDao;
import com.emokili.ewa.core.frame.entity.PlayListEntity;
import com.emokili.ewa.core.frame.entity.PlayListSettingEntity;
import com.emokili.ewa.core.frame.service.PlayListSettingService;
import com.emokili.ewa.core.frame.vo.PlayListSettingVo;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;

@Service
public class PlayListSettingServiceImpl extends ServiceImpl<PlayListSettingDao, PlayListSettingEntity> implements PlayListSettingService {
    @Override
    public void update(PlayListSettingVo playListSettingVo) {
        PlayListSettingEntity playListSettingEntity = new PlayListSettingEntity();
        BeanUtils.copyProperties(playListSettingVo,playListSettingEntity);
        updateById(playListSettingEntity);
    }
}
